package de.mpii.test;

import de.mpii.html.parser.HtmlParser;
import de.mpii.util.Uio;

public class HtmlParserTester {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {

		HtmlParser parser = new HtmlParser("<table", "</table>", true);

		String html = Uio.read("g:/a.txt");

		parser.setContent(html);

		String str;

		while ((str = parser.next()) != null) {
			System.out.println(str);
		}
	}

}
